home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / xpcom / nsILocalFileWin.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  3KB  |  99 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsILocalFileWin.idl
  3.  */
  4.  
  5. #ifndef __gen_nsILocalFileWin_h__
  6. #define __gen_nsILocalFileWin_h__
  7.  
  8.  
  9. #ifndef __gen_nsILocalFile_h__
  10. #include "nsILocalFile.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsILocalFileWin */
  19. #define NS_ILOCALFILEWIN_IID_STR "dc42f467-4094-437d-9e3e-8912a072aede"
  20.  
  21. #define NS_ILOCALFILEWIN_IID \
  22.   {0xdc42f467, 0x4094, 0x437d, \
  23.     { 0x9e, 0x3e, 0x89, 0x12, 0xa0, 0x72, 0xae, 0xde }}
  24.  
  25. class NS_NO_VTABLE nsILocalFileWin : public nsILocalFile {
  26.  public: 
  27.  
  28.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_ILOCALFILEWIN_IID)
  29.  
  30.   /**
  31.     * getVersionInfoValue
  32.     *
  33.     * Retrieve a metadata field from the file's VERSIONINFO block.
  34.     * Throws NS_ERROR_FAILURE if no value is found, or the value is empty.
  35.     *
  36.     * @param   aField         The field to look up.
  37.     *
  38.     */
  39.   /* AString getVersionInfoField (in string aField); */
  40.   NS_IMETHOD GetVersionInfoField(const char *aField, nsAString & _retval) = 0;
  41.  
  42. };
  43.  
  44. /* Use this macro when declaring classes that implement this interface. */
  45. #define NS_DECL_NSILOCALFILEWIN \
  46.   NS_IMETHOD GetVersionInfoField(const char *aField, nsAString & _retval); 
  47.  
  48. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  49. #define NS_FORWARD_NSILOCALFILEWIN(_to) \
  50.   NS_IMETHOD GetVersionInfoField(const char *aField, nsAString & _retval) { return _to GetVersionInfoField(aField, _retval); } 
  51.  
  52. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  53. #define NS_FORWARD_SAFE_NSILOCALFILEWIN(_to) \
  54.   NS_IMETHOD GetVersionInfoField(const char *aField, nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVersionInfoField(aField, _retval); } 
  55.  
  56. #if 0
  57. /* Use the code below as a template for the implementation class for this interface. */
  58.  
  59. /* Header file */
  60. class nsLocalFileWin : public nsILocalFileWin
  61. {
  62. public:
  63.   NS_DECL_ISUPPORTS
  64.   NS_DECL_NSILOCALFILEWIN
  65.  
  66.   nsLocalFileWin();
  67.  
  68. private:
  69.   ~nsLocalFileWin();
  70.  
  71. protected:
  72.   /* additional members */
  73. };
  74.  
  75. /* Implementation file */
  76. NS_IMPL_ISUPPORTS1(nsLocalFileWin, nsILocalFileWin)
  77.  
  78. nsLocalFileWin::nsLocalFileWin()
  79. {
  80.   /* member initializers and constructor code */
  81. }
  82.  
  83. nsLocalFileWin::~nsLocalFileWin()
  84. {
  85.   /* destructor code */
  86. }
  87.  
  88. /* AString getVersionInfoField (in string aField); */
  89. NS_IMETHODIMP nsLocalFileWin::GetVersionInfoField(const char *aField, nsAString & _retval)
  90. {
  91.     return NS_ERROR_NOT_IMPLEMENTED;
  92. }
  93.  
  94. /* End of implementation class template. */
  95. #endif
  96.  
  97.  
  98. #endif /* __gen_nsILocalFileWin_h__ */
  99.